<?php
/**
 * 动态附加表
 */

class PostExtra extends Eloquent {

	//protected $guarded = array();
	
	//protected $touches = array('post');
/*	
	public static function getPostExtras($posts)
	{
	
		foreach($posts as $rows)
		{
	
			$posts->test[]=PostExtra::where('post_id',$rows->id)->get();
	
	
		}
		return $posts;
	}
*/	
	

}